package com.by.toolkitspring.handler;

import com.by.toolkit.consts.GlobalConst;
import com.by.toolkitspring.customizeannotation.ByScannerRegistrar;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.Lazy;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import(ByScannerRegistrar.class)
@Lazy
@Documented
public @interface Handler {

    String group();

    int subCode() default GlobalConst.MIN_INTEGER;

    String subCodeStr() default GlobalConst.MIN_INTEGER_STR;

}
